<!--
 * new page
 * @author: dh
 * @since: 2023-12-13
 * Login.vue
-->
<template>
  <div class="login">
    <div class="login-content">
      <div class="login-title">登陆</div>
      <el-form label-position="top" label-width="100px" :model="formLabelAlign">
        <el-form-item label="用户名">
          <el-input v-model="formLabelAlign.name" />
        </el-form-item>
        <el-form-item label="密码">
          <el-input v-model="formLabelAlign.password" />
        </el-form-item>
      </el-form>
      <el-form-item>
        <el-button type="primary" @click="onSubmit">登陆</el-button>
      </el-form-item>
    </div>
  </div>
</template>

<script setup lang="ts">
import { reactive } from "vue";

const formLabelAlign = reactive({
  name: "",
  password: "",
});

const onSubmit = () => {};
</script>

<style lang="scss" scoped>
.login {
  width: inherit;
  height: calc(100vh - 16px);
  min-width: 1080px;
  background-image: url("../../assets/img/Bitmap.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  .login-content {
    width: 544px;
    height: 644px;
    box-sizing: border-box;
    padding: 42px 96px;
    opacity: 1;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.56);
    box-shadow: 0px 8px 12px rgba(25, 31, 53, 0.08);
    backdrop-filter: blur(20px);
    .login-title {
      width: 192px;
      height: 56px;
      margin-bottom: 18px;
      opacity: 1;
      text-shadow: 0px 2px 1px rgba(25, 31, 53, 0.2);
      display: flex;
      font-size: 48px;
      font-weight: 400;
      letter-spacing: -0.2px;
      line-height: 56px;
      color: rgba(25, 31, 53, 1);
      text-align: left;
      vertical-align: top;
    }
    :deep(.el-button) {
      width: 100%;
    }
  }
}
</style>
